<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
$router->add($config->application->backendUri . '/video', array(
    'module' => 'backend_video',
    'controller' => 'video',
    'action' => 'index',
));

$router->add($config->application->backendUri . '/video/:action', array(
    'module' => 'backend_video',
    'controller' => 'video',
    'action' => 1,
));

$router->add($config->application->backendUri . '/video/:action/:int', array(
    'module' => 'backend_video',
    'controller' => 'video',
    'action'  => 1,
    'id' => 2
));


/*----------------Routes_Video_Group---------------*/

$router->add($config->application->backendUri . '/video/group', array(
    'module' => 'backend_video',
    'controller' => 'video-group',
    'action' => 'index',
));

$router->add($config->application->backendUri . '/video/group/:action', array(
    'module' => 'backend_video',
    'controller' => 'video-group',
    'action' => 1,
));

$router->add($config->application->backendUri . '/video/group/:action/:int', array(
    'module' => 'backend_video',
    'controller' => 'video-group',
    'action'  => 1,
    'id' => 2
));

/*----------------Routes_Video_Category---------------*/

$router->add($config->application->backendUri . '/video/category', array(
    'module' => 'backend_video',
    'controller' => 'video-category',
    'action' => 'index',
));

$router->add($config->application->backendUri . '/video/category/:action', array(
    'module' => 'backend_video',
    'controller' => 'video-category',
    'action' => 1,
));

$router->add($config->application->backendUri . '/video/category/:action/:int', array(
    'module' => 'backend_video',
    'controller' => 'video-category',
    'action'  => 1,
    'id' => 2
));


/*----------------Routes_National---------------*/
$router->add($config->application->backendUri . '/video/national', array(
    'module' => 'backend_video',
    'controller' => 'national',
    'action' => 'index',
));

$router->add($config->application->backendUri . '/video/national/:action', array(
    'module' => 'backend_video',
    'controller' => 'national',
    'action' => 1,
));
$router->add($config->application->backendUri . '/video/national/:action/:int', array(
    'module' => 'backend_video',
    'controller' => 'national',
    'action'  => 1,
    'id' => 2
));

/*----------------Routes_Artist---------------*/
$router->add($config->application->backendUri . '/video/artist', array(
    'module' => 'backend_video',
    'controller' => 'artist',
    'action' => 'index',
));

$router->add($config->application->backendUri . '/video/artist/:action', array(
    'module' => 'backend_video',
    'controller' => 'artist',
    'action' => 1,
));
$router->add($config->application->backendUri . '/video/artist/:action/:int', array(
    'module' => 'backend_video',
    'controller' => 'artist',
    'action'  => 1,
    'id' => 2
));


/*----------------Routes_Artist---------------*/
$router->add($config->application->backendUri . '/video/file', array(
    'module' => 'backend_video',
    'controller' => 'video-file',
    'action' => 'index',
));

$router->add($config->application->backendUri . '/video/file/:action', array(
    'module' => 'backend_video',
    'controller' => 'video-file',
    'action' => 1,
));
$router->add($config->application->backendUri . '/video/file/:action/:int', array(
    'module' => 'backend_video',
    'controller' => 'video-file',
    'action'  => 1,
    'id' => 2
));


/*----------------Routes_Ajax---------------*/
$router->add($config->application->backendUri . '/ajax', array(
    'module' => 'backend_video',
    'controller' => 'ajax',
    'action' => 'index',
));

$router->add($config->application->backendUri . '/ajax/:action', array(
    'module' => 'backend_video',
    'controller' => 'ajax',
    'action' => 1,
));
$router->add($config->application->backendUri . '/ajax/:action/:int', array(
    'module' => 'backend_video',
    'controller' => 'ajax',
    'action'  => 1,
    'id' => 2
));
